<?php

/**
 * 合同大类仓库
 * @author wangwx 2015-5-12
 */
namespace common\repositories\myhtsq;
use common\repositories\BaseRepository;
use common\support\StringHelper;
use common\entities\myhtsq\ContractBigCategoryEntity;
class ContractBigCategoryRepository extends BaseRepository{

	
	/**
	 * 构造方法
	 * @param unknown $config (optional)
	 */
	public function __construct($config = [])
	{
		parent::__construct($config);
	}
	
	/**
	 * 获取所有合同大类
	 * @return array
	 */
	public static function getAllContractBigClass() {
		return ContractBigCategoryEntity::find()->all();
	}
	
	
}